package com.hzx.service.impl;

import com.hzx.dao.SortMapper;
import com.hzx.service.KindService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class KindServiceImpl implements KindService {

    @Autowired
    private SortMapper sortMapper ;

    @Override
    public List getAllKind() {
        return sortMapper.getall();
    }
}
